package com.yzkj.siot.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yzkj.siot.domain.TenantDevice;
import com.yzkj.siot.vo.RadioDataItem;

import java.util.List;

/**
 * <p>
 * 设备
 * 服务类
 * </p>
 *
 * @author skye
 * @since 2021-11-07
 */
public interface TenantDeviceService extends IService<TenantDevice> {

    /**
     * 获取设备-产品的占比
     */
    List<RadioDataItem> queryDeviceOfProductForRadio();

    /**
     * 获取在线设备数量
     */
    int onlineDeviceCount();
}
